package cn.yunhe.service;

import cn.yunhe.model.House;

import java.util.List;

public interface HouseBiz {
    boolean insertHouse(House house);
    boolean updateHouse(House house);
    boolean deleteHouse(int hid);

    House getById(int hid);
    List<House> searchHouse(String hql);
    List<House> searchHouse(House house);
}
